package com.mc.read.dao.mapper;

import com.mc.read.dao.models.Userreadhistory;
import com.mc.read.dao.models.UserreadhistoryExample;
import com.mc.read.dao.vo.PageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserreadhistoryMapper {
    int countByExample(UserreadhistoryExample example);

    int deleteByExample(UserreadhistoryExample example);

    int deleteByPrimaryKey(Integer userreadhistoryid);

    int insert(Userreadhistory record);

    int insertSelective(Userreadhistory record);

    List<Userreadhistory> selectByExample(UserreadhistoryExample example);

    Userreadhistory selectByPrimaryKey(Integer userreadhistoryid);

    int updateByExampleSelective(@Param("record") Userreadhistory record, @Param("example") UserreadhistoryExample example);

    int updateByExample(@Param("record") Userreadhistory record, @Param("example") UserreadhistoryExample example);

    int updateByPrimaryKeySelective(Userreadhistory record);

    int updateByPrimaryKey(Userreadhistory record);


    List<Userreadhistory> selectReadhistoryList(PageVo pageVo);



}